package LeetCode.month02.day53;

public class No1935 {
    public int canBeTypedWords(String text, String brokenLetters) {
        String[]  strings = text.split(" ");
        int count = 0;
        out:for (int i = 0; i < strings.length; i++) {
            for (int j = 0; j < brokenLetters.length(); j++) {
                char c = brokenLetters.charAt(j);
                if(strings[i].contains(c+"")) {
                    continue out;
                }
            }
            count++;
        }
        return count;
    }
}
